Dashboard
INVENTORY RECORDS
Date one
Date two
INVENTORY RECORDS" .'Between'.'-'.$date1.'- and -'.$date2 ; ?>
SN
INVENTORY_ID
DATE IN
AMOUNT
prepare("select * from inventory_main where date_in BETWEEN '$date1' and '$date2' ") ; $getrec->execute() ; //get sum $gsum = $DBcon->prepare("select sum(gross_total) as gcost from inventory_main where date_in BETWEEN '$date1' and '$date2' ") ; $gsum->execute() ; $gsrow = $gsum->fetch(pdo::FETCH_ASSOC) ; $tsum = $gsrow['gcost'] ; $count = 0 ; while($row = $getrec->fetch(pdo::FETCH_ASSOC)) { $count++ ; ?>
Grand Total
Print Record
VIEW ALL DETAILS